<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

</body>
<script>
    // includes方法
    // 判断数组中是否包含某个元素
    const fourMingZhu = ["西游记", "水浒传", "三国演义", "红楼梦"];
    console.log(fourMingZhu.includes("西游记"));
    console.log(fourMingZhu.includes("金瓶梅"));

    // **
    console.log(2 ** 10); // 2的10次方
    console.log(Math.pow(2, 10)) // 2的10次方
</script>

</html>